/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package aptech.semester.code.entity;

import java.math.BigDecimal;
import java.util.Vector;

/**
 *
 * @author vi
 */
public class EmployeeSalaryEntity {
    private int employeeSalaryId;
    private String employeeId;
    private String employeeName;
    private float dayOffNoSalary;
    private float dayOffInspect;
    private BigDecimal bonusPlus;
    private BigDecimal bonusSub;
    private BigDecimal totalSalary;
    private int salaryForm;
    private int overtime;
    private int workingDate;
    private BigDecimal bonusSalary;
    private BigDecimal basicSalary;

    public BigDecimal getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(BigDecimal basicSalary) {
        this.basicSalary = basicSalary;
    }

    public BigDecimal getBonusSalary() {
        return bonusSalary;
    }

    public void setBonusSalary(BigDecimal bonusSalary) {
        this.bonusSalary = bonusSalary;
    }

    public int getEmployeeSalaryId() {
        return employeeSalaryId;
    }

    public void setEmployeeSalaryId(int employeeSalaryId) {
        this.employeeSalaryId = employeeSalaryId;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public float getDayOffNoSalary() {
        return dayOffNoSalary;
    }

    public void setDayOffNoSalary(float dayOffNoSalary) {
        this.dayOffNoSalary = dayOffNoSalary;
    }

    public float getDayOffInspect() {
        return dayOffInspect;
    }

    public void setDayOffInspect(float dayOffInspect) {
        this.dayOffInspect = dayOffInspect;
    }

    public BigDecimal getBonusPlus() {
        return bonusPlus;
    }

    public void setBonusPlus(BigDecimal bonusPlus) {
        this.bonusPlus = bonusPlus;
    }

    public BigDecimal getBonusSub() {
        return bonusSub;
    }

    public void setBonusSub(BigDecimal bonusSub) {
        this.bonusSub = bonusSub;
    }

    public BigDecimal getTotalSalary() {
        return totalSalary;
    }

    public void setTotalSalary(BigDecimal totalSalary) {
        this.totalSalary = totalSalary;
    }

    public int getSalaryForm() {
        return salaryForm;
    }

    public void setSalaryForm(int salaryForm) {
        this.salaryForm = salaryForm;
    }

    public int getOvertime() {
        return overtime;
    }

    public void setOvertime(int overtime) {
        this.overtime = overtime;
    }

    public int getWorkingDate() {
        return workingDate;
    }

    public void setWorkingDate(int workingDate) {
        this.workingDate = workingDate;
    }
    
    public Vector toVector() {
       Vector v = new Vector();
       v.add(employeeId);
       v.add(employeeName);
       v.add(basicSalary);
       v.add(bonusSalary);
       v.add(workingDate);
       v.add(overtime);
       v.add(dayOffInspect);
       v.add(dayOffNoSalary);
       v.add(bonusPlus);
       v.add(bonusSub);
       v.add(totalSalary);
       return v;
    }
}
